package cn.iocoder.yudao.module.product.controller.admin.process.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 工序-模型关联详细Response VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ProcessPMDetailsResVO extends ProcessPMResVO{

    @Schema(description = "工序id", required = true)
    @NotNull(message = "工序id不能为空")
    private Long id;

    @Schema(description = "工序产物核算数量")
    private Double num;

    @Schema(description = "工序产物单位")
    private String unit;

}
